package com.guguskins.back.mapper;

import com.guguskins.back.entity.GuRecord;
import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import org.apache.ibatis.annotations.Param;
import org.springframework.stereotype.Repository;

import java.util.List;

/**
 * <p>
 *  Mapper 接口
 * </p>
 *
 * @author mybatis-plus
 * @since 2021-05-24
 */
@Repository
public interface GuRecordMapper extends BaseMapper<GuRecord> {
     List<GuRecord> getByPage(@Param("pageNum") Integer pageNum,@Param("pageSize")Integer pageSize,@Param("userName")String username,
     @Param("sourceType") Integer iteamType,@Param("createTime")String createTime
     );
     Long getByCount();
}
